<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
    <title><%= @page_title || "Pricebook" %></title>
    <%= stylesheet_link_tag 'pricebook' %>
	<%= stylesheet_link_tag 'jquery.autocomplete' %>
    <%= javascript_include_tag :defaults %>
	<%= javascript_include_tag 'jquery.autocomplete.pack' %>
  </head>
  <body>
    
    <div id="wrapper">
    	
      <div id="banner">
        PRICEBOOK <span class="hint">build <%= APP_VERSION.to_s %></span>
      </div>
      
	  <div id="nav">
          <%= link_to 'Companies', companies_path %> |
          <%= link_to 'Brands', brands_path %> |
          <%= link_to 'Items', items_path %> |
          <%= link_to 'Receipts', receipts_path %> |
          <%= link_to 'Measures', measures_path %>
      </div>
      <div id="content">
          <p style="color: green"><%= flash[:notice] %></p>
          <%= yield :layout%>           
      </div>
      
      <div id="footer">Copyright</div>
    </div>
    
  </body>
</html>